package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.controller.VolunteerController;
import com.itheima.domain.VolunteerInfo;
import com.itheima.domain.VolunteerInfoVo;

/**
 * @Author 12441
 * @Date 2022/9/20 10:11
 * @Version 1.0
 */
public interface VolunteerInfoService extends IService<VolunteerInfo> {
    //根据id查询志愿者
    VolunteerInfo getVolunteerById(long id);

    //新增志愿者
    void addVolunteer(VolunteerInfo volunteerInfo);

    //根据id删除志愿者
    void deleteVolunteer(long id);

    //更新志愿者信息
    void updateVolunteer(VolunteerInfoVo volunteerInfo);
}
